package com.castle.fortress.admin.oa.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.castle.fortress.admin.oa.entity.AttendanceSettingDateEntity;
import com.castle.fortress.admin.oa.dto.AttendanceSettingDateDto;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.util.Map;
import java.util.List;

/**
 * 考勤时间设置 服务类
 *
 * @author whc
 * @since 2022-11-03
 */
public interface AttendanceSettingDateService extends IService<AttendanceSettingDateEntity> {

    /**
     * 分页展示考勤时间设置列表
     * @param page
     * @param attendanceSettingDateDto
     * @return
     */
    IPage<AttendanceSettingDateDto> pageAttendanceSettingDate(Page<AttendanceSettingDateDto> page, AttendanceSettingDateDto attendanceSettingDateDto);

    /**
    * 分页展示考勤时间设置扩展列表
    * @param page
    * @param attendanceSettingDateDto
    * @return
    */
    IPage<AttendanceSettingDateDto> pageAttendanceSettingDateExtends(Page<AttendanceSettingDateDto> page, AttendanceSettingDateDto attendanceSettingDateDto);
    /**
    * 考勤时间设置扩展详情
    * @param id 考勤时间设置id
    * @return
    */
    AttendanceSettingDateDto getByIdExtends(Long id);

    /**
     * 展示考勤时间设置列表
     * @param attendanceSettingDateDto
     * @return
     */
    List<AttendanceSettingDateDto> listAttendanceSettingDate(AttendanceSettingDateDto attendanceSettingDateDto);

}
